package cn.itsource.system.mapper;


import cn.itsource.system.domain.SystemDictionaryDetail;
import cn.itsource.system.query.SystemDictionaryDetailQuery;

import java.util.List;

public interface SystemDictionaryDetailMapper {
     List<SystemDictionaryDetail> findAll();

     SystemDictionaryDetail findOne(Long id);

     void add(SystemDictionaryDetail systemDictionaryDetail);

     void update(SystemDictionaryDetail systemDictionaryDetail);

     void delete(Long id);

     //批量删除
     void patchdel(Long[] ids);

     Integer queryCount(SystemDictionaryDetailQuery systemDictionaryDetailQuery);
     List<SystemDictionaryDetail> queryData(SystemDictionaryDetailQuery systemDictionaryDetailQuery);

    void patchDelType(Long type);
}
